#
# (C) Copyright 2019
# <tang-haifeng@foxmail.com> <pengren.mcu@qq.com>
#
# SPDX-License-Identifier:      GPL-2.0+
#
obj-y += common/platform.o
obj-$(CONFIG_LOONGSON_BOOT_FIXUP) += common/bootparam.o common/loongson_efi_systab.o

obj-$(CONFIG_CPU_LOONGSON2K500) += common/ls2k500_common.o
obj-$(CONFIG_CPU_LOONGSON2K1000) += common/ls2k1000_common.o

obj-$(CONFIG_TARGET_LS2K500_EVB) += ls2k500_evb/ls2k500_evb.o
obj-$(CONFIG_TARGET_LS2K500_HUOLONG_MB_V1_0) += ls2k500_huolong_mb/ls2k500_huolong_mb_v1.0.o

obj-$(CONFIG_TARGET_LS2K1000_JINLONG_MB_V1_1_LA) += ls2k1000_jinlong_mb/ls2k1000_jinlong_mb_v1.1.o
obj-$(CONFIG_TARGET_LS2K1000_JINLONG_MB_V1_3_LA) += ls2k1000_jinlong_mb/ls2k1000_jinlong_mb_v1.3.o

obj-$(CONFIG_TARGET_LS2K1000_JL_LSGD2K10_DP1_V10) += ls2k1000_jl/ls2k_jl_lsgd2k10_dp1_v1.0.o